package com.daigg.hoteladmin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.daigg.hoteladmin.pojo.po.RoomTypePO;
import com.daigg.hoteladmin.pojo.vo.RoomTypeVO;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Description: 房间类型Service
 * @author daiyang
 */

@Transactional
public interface IRoomTypeServeice {
    RoomTypePO selectOneById(String id);

    RoomTypeVO add(RoomTypeVO roomTypeVO);

    RoomTypePO save(RoomTypeVO roomTypeVO);

    Integer deleteById(String id);

    RoomTypeVO selectOneByIdReturnVO(String id);

    RoomTypeVO saveone(RoomTypeVO roomTypeVO);

    // Page<RoomTypeVO> getPage(RoomTypeVO roomTypeVO);

    List<RoomTypePO> getList();

    List<RoomTypeVO> currentRoomTypeList(String id, Integer isIsolation);
}
